{template 'common/header'}
<div class="main">
<ul class="nav nav-tabs">
<li{if $_GPC['do'] == 'buildlists'} class="active"{/if}><a href="{php echo $this->createWeburl('buildlists');}">楼盘管理</a></li>
    	<li{if $_GPC['do'] == 'billadd'} class="active"{/if}><a href="{php echo $this->createWeburl('billadd',array('id'=>$id,'hid'=>$hid));}">楼盘海报</a></li>
      </ul>
<form action="" class="form-horizontal form" method="post" enctype="multipart/form-data">
	<input type="hidden" name="hid" value="{$hid}">
    <input type="hidden" name="id" value="{$id}">
<div class="panel panel-info">
<div class="panel-heading">海报设置</div>
<div class="panel-body">
<input type="hidden" name="id" value="{$item['id']}">
<div class="form-group">
  <label class="col-xs-12 col-sm-3 col-md-2 control-label">海报名称</label>
  <div class="col-sm-9">
    <input type="text" id="title" name="title" value="{$item['title']}"  class="form-control" /><span class="help-block">*必填</span>
  </div>
</div>
<div class="form-group">
  <label class="col-xs-12 col-sm-3 col-md-2 control-label">海报1</label>
  <div class="col-sm-9"> {php echo tpl_form_field_image('pic', $item['pic'], $this->getindexpic($item['pic']));} <span class="help-block">建议尺寸：宽400像素，高720像素</span> </div>
</div>
<div class="form-group">
  <label class="col-xs-12 col-sm-3 col-md-2 control-label">海报2</label>
  <div class="col-sm-9"> {php echo tpl_form_field_image('pic1', $item['pic1'], $this->getindexpic($item['pic1']));} <span class="help-block">建议尺寸：宽400像素，高720像素</span> </div>
</div>
<div class="form-group">
  <label class="col-xs-12 col-sm-3 col-md-2 control-label">海报3</label>
  <div class="col-sm-9"> {php echo tpl_form_field_image('pic2', $item['pic2'], $this->getindexpic($item['pic2']));} <span class="help-block">建议尺寸：宽400像素，高720像素</span> </div>
</div>
<div class="form-group">
  <label class="col-xs-12 col-sm-3 col-md-2 control-label">海报4</label>
  <div class="col-sm-9"> {php echo tpl_form_field_image('pic3', $item['pic3'], $this->getindexpic($item['pic3']));} <span class="help-block">建议尺寸：宽400像素，高720像素</span> </div>
</div>
<div class="form-group">
  <label class="col-xs-12 col-sm-3 col-md-2 control-label">海报5</label>
  <div class="col-sm-9"> {php echo tpl_form_field_image('pic4', $item['pic4'], $this->getindexpic($item['pic4']));} <span class="help-block">建议尺寸：宽400像素，高720像素</span> </div>
</div>
	<div class="form-group col-sm-12">
			<input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
			<input type="hidden" name="token" value="{$_W['token']}" />
		</div>
        
        </div>
        </div>


</form>
{template 'common/footer'}